/* Basic reset */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.chat-header {
    background: #007bff;
    color: white;
    padding: 16px;
    text-align: center;
}

.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    border-bottom: 1px solid #ddd;
}

.chat-messages span {
    display: block;
    padding: 8px;
    margin-bottom: 4px;
    border-radius: 4px;
}

.chat-messages span:nth-child(odd) {
    background: #f1f1f1;
}

.chat-form {
    display: flex;
    padding: 16px;
    border-top: 1px solid #ddd;
    background: #f9f9f9;
}

.chat-form input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.chat-form button {
    padding: 8px 16px;
    margin-left: 8px;
    border: none;
    border-radius: 4px;
    background: #007bff;
    color: white;
    cursor: pointer;
}

.chat-form button:hover {
    background: #0056b3;
}
